package com.herui.ota.dao.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.herui.ota.entity.DeviceOta;
import com.herui.ota.pojo.form.DeviceOtaFilterForm;
import com.herui.ota.pojo.form.UserAdminFilterForm;
import com.herui.ota.pojo.vo.DeviceOtaVo;
import com.herui.ota.pojo.vo.UserAdminVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * author name: amanda.shan
 * create time: 2023-10-26 13:19:07
 */ 
public interface DeviceOtaMapper extends BaseMapper<DeviceOta>{

    Page<DeviceOtaVo> listDeviceOtaVoPage(Page<DeviceOtaVo> page, @Param("filter") List<Map<String, Object>> conditions);

    List<DeviceOta> listDeviceOta(@Param("filter")  DeviceOtaFilterForm filter);

    String selectPrintType(String version);

}

